﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using RBS.Core.Model;

namespace RBS.Web.API.Models
{ 
    /// <summary>
    /// 
    /// </summary>
    public class OrderModel
    { 
        /// <summary>
        /// 酒店信息
        /// </summary>
        public V_Hotel Hotel { get; set; }
        /// <summary>
        /// 订单
        /// </summary>
        public V_Order Order { get; set; } 
        /// <summary>
        /// 订单菜数量
        /// </summary>
        public string OrderNum { get; set; }
        /// <summary>
        /// 订单总额
        /// </summary>
        public string OrderAmount { get; set; } 
        /// <summary>
        /// 订单菜谱
        /// </summary>
        public IList<VOrderDetails> Detail { get; set; }
    }

    /// <summary>
    /// 订单菜谱数量
    /// </summary>
    public class CookBook
    {
        /// <summary>
        /// 菜谱ID
        /// </summary>
        public int Cid { get; set; }
        /// <summary>
        /// 菜谱数量
        /// </summary>
        public int Num { get; set; }
    }
    /// <summary>
    /// 手机订菜
    /// </summary>
    public class OrderTemp
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public int OrderId { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 订单菜单集合
        /// </summary>
        public IList<CookBook> CookBook { get; set; }

    }

    /// <summary>
    /// 订单优惠信息
    /// </summary>
    public class OrderDeed
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public int OrderId { get; set; }
        /// <summary>
        /// 订单ID
        /// </summary>
        public int Uid { get; set; }
        /// <summary>
        /// 积分
        /// </summary>
        public int Integration { get; set; } 
        /// <summary>
        /// 优惠ID1,2,3
        /// </summary>
        public string CouponsId { get; set; } 
    }

    /// <summary>
    /// 
    /// </summary>
    public class Settlement
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public IList<Object> Coupons { get; set; } 
        /// <summary>
        /// 订单菜单集合
        /// </summary>
        public Object Integration { get; set; }

    }



}